# $Id: PKGBUILD 83178 2013-01-27 16:25:48Z pierre $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Paul Mattal <paul@archlinux.org>

pkgname=qiv
pkgver=2.2.4
pkgrel=2
pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer"
arch=('i686' 'x86_64')
url="http://spiegl.de/qiv/"
license=('GPL2')
depends=('file' 'gtk2' 'imlib2')
source=(http://spiegl.de/qiv/download/$pkgname-$pkgver.tgz)
md5sums=('1425f89c90f9c045858fccf24d894c97')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -D -m 0755 qiv "$pkgdir/usr/bin/qiv"
  install -D -m 0644 qiv.1 "$pkgdir/usr/share/man/man1/qiv.1"
}
